<!--
 * @Author: sunkai@xinxinapp.cn
 * @Date: 2021-05-27 16:30:03
 * @LastEditTime: 2021-05-27 20:23:12
 * @LastEditors: sunkai@xinxinapp.cn
 * @Description: 
 * @FilePath: /fed-e-task-04-06/src/app/app.component.html
-->

<div>
  Angular TodoList
  <table border="1">
    <input type="text" name="food_name" [(ngModel)]="food_name"><button (click)="addToCart(food_name)">添加</button>
    <tr *ngFor="let item of items">
      <th><input type="CheckBox" name="hobby" value="1"/>{{item}}</th>
      <th><button (click)="delCart(item)">删除</button></th>
    </tr>
 </table>

</div>

<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
<!-- * * * * * * * * * * * The content above * * * * * * * * * * * -->
<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->
<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * -->
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->

<router-outlet></router-outlet>
